load("//bzl:cpp_unittest.bzl", "cpp_unittest")

cpp_unittest(
    name = "blake2xb_test",
    srcs = ["Blake2xbTest.cpp"],
    deps = [
        "//folly:string",
        "//folly/crypto:blake2xb",
        "//folly/io:iobuf",
        "//folly/portability:gtest",
        "@libsodium",
    ],
)

cpp_unittest(
    name = "lt_hash_test",
    srcs = [
        "LtHashTest.cpp",
    ],
    deps = [
        "//folly:random",
        "//folly:string",
        "//folly/crypto:lt_hash",
        "//folly/io:iobuf",
        "//folly/portability:gtest",
        "@libsodium",
    ],
)

cpp_unittest(
    name = "lt_hash_test_sse2",
    srcs = [
        "LtHashTest.cpp",
    ],
    deps = [
        "//folly:random",
        "//folly:string",
        "//folly/crypto:lt_hash_sse2",  # @manual
        "//folly/io:iobuf",
        "//folly/portability:gtest",
        "@libsodium",
    ],
)

cpp_unittest(
    name = "lt_hash_test_avx2",
    srcs = [
        "LtHashTest.cpp",
    ],
    deps = [
        "//folly:random",
        "//folly:string",
        "//folly/crypto:lt_hash_avx2",  # @manual
        "//folly/io:iobuf",
        "//folly/portability:gtest",
        "@libsodium",
    ],
)
